//
//  CNOrderStatasTableViewCell.m
//  BeeQuick_19
//
//  Created by 赵玉忠 on 16/9/24.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNOrderStatasTableViewCell.h"
@interface CNOrderStatasTableViewCell()
@property (weak, nonatomic) IBOutlet UILabel *statas;

@property (weak, nonatomic) IBOutlet UILabel *desc;
@property (weak, nonatomic) IBOutlet UILabel *time;
@property (weak, nonatomic) IBOutlet UIView *TopLineView;
@property (weak, nonatomic) IBOutlet UIView *separateLineView;
@property (weak, nonatomic) IBOutlet UIImageView *iconView;


@end
@implementation CNOrderStatasTableViewCell
-(void)setModel:(CNOrderStatasModel *)model{
    _model = model;
    self.statas.text = self.model.statas;
    self.desc.text = self.model.desc;
    self.time.text = self.model.time;
}
-(void)dealWithFirstCell{
    self.TopLineView.hidden = YES;
    self.statas.textColor = [UIColor blackColor];
    self.iconView.image = [UIImage imageNamed:@"order_yellowMark"];
}
-(void)dealWithLastCell{
    self.separateLineView.hidden = YES;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
